if exist "..\Core\Inc\ver.h" (del ..\Core\Inc\ver.h) else (echo "no find")
echo #define sw_ver	"%DATE:~0,4%.%DATE:~5,2%.%DATE:~8,2%_%TIME:~0,2%:%TIME:~3,2%:%TIME:~6,2%">>../Core\Inc\ver.h